.class public Lcom/nostra13/universalimageloader/core/d;
.super Ljava/lang/Object;
.source "ImageLoader.java"


# static fields
.field public static final d:Ljava/lang/String; = "d"

.field private static volatile e:Lcom/nostra13/universalimageloader/core/d;


# instance fields
.field private a:Lcom/nostra13/universalimageloader/core/e;

.field private b:Lcom/nostra13/universalimageloader/core/f;

.field private c:Les/ug0;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method protected constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Les/wg0;

    invoke-direct {v0}, Les/wg0;-><init>()V

    iput-object v0, p0, Lcom/nostra13/universalimageloader/core/d;->c:Les/ug0;

    return-void
.end method

.method private static a(Lcom/nostra13/universalimageloader/core/c;)Landroid/os/Handler;
    .locals 2

    .line 61
    invoke-virtual {p0}, Lcom/nostra13/universalimageloader/core/c;->e()Landroid/os/Handler;

    move-result-object v0

    .line 62
    invoke-virtual {p0}, Lcom/nostra13/universalimageloader/core/c;->m()Z

    move-result p0

    if-eqz p0, :cond_0

    const/4 v0, 0x0

    goto :goto_0

    :cond_0
    if-nez v0, :cond_1

    .line 63
    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object p0

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v1

    if-ne p0, v1, :cond_1

    .line 64
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    :cond_1
    :goto_0
    return-object v0
.end method

.method private g()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    if-eqz v0, :cond_0

    return-void

    .line 2
    :cond_0
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "ImageLoader must be init with configuration before using"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public static h()Lcom/nostra13/universalimageloader/core/d;
    .locals 2

    .line 1
    sget-object v0, Lcom/nostra13/universalimageloader/core/d;->e:Lcom/nostra13/universalimageloader/core/d;

    if-nez v0, :cond_1

    .line 2
    const-class v0, Lcom/nostra13/universalimageloader/core/d;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/nostra13/universalimageloader/core/d;->e:Lcom/nostra13/universalimageloader/core/d;

    if-nez v1, :cond_0

    .line 4
    new-instance v1, Lcom/nostra13/universalimageloader/core/d;

    invoke-direct {v1}, Lcom/nostra13/universalimageloader/core/d;-><init>()V

    sput-object v1, Lcom/nostra13/universalimageloader/core/d;->e:Lcom/nostra13/universalimageloader/core/d;

    .line 5
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 6
    :cond_1
    :goto_0
    sget-object v0, Lcom/nostra13/universalimageloader/core/d;->e:Lcom/nostra13/universalimageloader/core/d;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 1

    .line 58
    invoke-direct {p0}, Lcom/nostra13/universalimageloader/core/d;->g()V

    .line 59
    iget-object v0, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    iget-object v0, v0, Lcom/nostra13/universalimageloader/core/e;->o:Les/yf0;

    invoke-interface {v0}, Les/yf0;->clear()V

    return-void
.end method

.method public a(Landroid/widget/ImageView;)V
    .locals 2

    .line 60
    iget-object v0, p0, Lcom/nostra13/universalimageloader/core/d;->b:Lcom/nostra13/universalimageloader/core/f;

    new-instance v1, Les/rg0;

    invoke-direct {v1, p1}, Les/rg0;-><init>(Landroid/widget/ImageView;)V

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/f;->a(Les/qg0;)V

    return-void
.end method

.method public declared-synchronized a(Lcom/nostra13/universalimageloader/core/e;)V
    .locals 2

    monitor-enter p0

    if-eqz p1, :cond_1

    .line 1
    :try_start_0
    iget-object v0, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    const/4 v1, 0x0

    if-nez v0, :cond_0

    const-string v0, "Initialize ImageLoader with configuration"

    new-array v1, v1, [Ljava/lang/Object;

    .line 2
    invoke-static {v0, v1}, Les/ah0;->a(Ljava/lang/String;[Ljava/lang/Object;)V

    .line 3
    new-instance v0, Lcom/nostra13/universalimageloader/core/f;

    invoke-direct {v0, p1}, Lcom/nostra13/universalimageloader/core/f;-><init>(Lcom/nostra13/universalimageloader/core/e;)V

    iput-object v0, p0, Lcom/nostra13/universalimageloader/core/d;->b:Lcom/nostra13/universalimageloader/core/f;

    .line 4
    iput-object p1, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    goto :goto_0

    :cond_0
    const-string p1, "Try to initialize ImageLoader which had already been initialized before. To re-init ImageLoader with new configuration call ImageLoader.destroy() at first."

    new-array v0, v1, [Ljava/lang/Object;

    .line 5
    invoke-static {p1, v0}, Les/ah0;->d(Ljava/lang/String;[Ljava/lang/Object;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 6
    :goto_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception p1

    goto :goto_1

    .line 7
    :cond_1
    :try_start_1
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string v0, "ImageLoader configuration can not be initialized with null"

    invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :goto_1
    monitor-exit p0

    throw p1
.end method

.method public a(Ljava/lang/String;Landroid/widget/ImageView;)V
    .locals 6

    .line 46
    new-instance v2, Les/rg0;

    invoke-direct {v2, p2}, Les/rg0;-><init>(Landroid/widget/ImageView;)V

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    invoke-virtual/range {v0 .. v5}, Lcom/nostra13/universalimageloader/core/d;->a(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V

    return-void
.end method

.method public a(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/c;)V
    .locals 6

    .line 47
    new-instance v2, Les/rg0;

    invoke-direct {v2, p2}, Les/rg0;-><init>(Landroid/widget/ImageView;)V

    const/4 v4, 0x0

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v3, p3

    invoke-virtual/range {v0 .. v5}, Lcom/nostra13/universalimageloader/core/d;->a(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V

    return-void
.end method

.method public a(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/c;Les/ug0;)V
    .locals 6

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move-object v4, p4

    .line 49
    invoke-virtual/range {v0 .. v5}, Lcom/nostra13/universalimageloader/core/d;->a(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V

    return-void
.end method

.method public a(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V
    .locals 6

    .line 50
    new-instance v2, Les/rg0;

    invoke-direct {v2, p2}, Les/rg0;-><init>(Landroid/widget/ImageView;)V

    move-object v0, p0

    move-object v1, p1

    move-object v3, p3

    move-object v4, p4

    move-object v5, p5

    invoke-virtual/range {v0 .. v5}, Lcom/nostra13/universalimageloader/core/d;->a(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V

    return-void
.end method

.method public a(Ljava/lang/String;Landroid/widget/ImageView;Les/ug0;)V
    .locals 6

    .line 48
    new-instance v2, Les/rg0;

    invoke-direct {v2, p2}, Les/rg0;-><init>(Landroid/widget/ImageView;)V

    const/4 v3, 0x0

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v4, p3

    invoke-virtual/range {v0 .. v5}, Lcom/nostra13/universalimageloader/core/d;->a(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V

    return-void
.end method

.method public a(Ljava/lang/String;Lcom/nostra13/universalimageloader/core/assist/c;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V
    .locals 6

    .line 53
    invoke-direct {p0}, Lcom/nostra13/universalimageloader/core/d;->g()V

    if-nez p2, :cond_0

    .line 54
    iget-object p2, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    invoke-virtual {p2}, Lcom/nostra13/universalimageloader/core/e;->a()Lcom/nostra13/universalimageloader/core/assist/c;

    move-result-object p2

    :cond_0
    if-nez p3, :cond_1

    .line 55
    iget-object p3, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    iget-object p3, p3, Lcom/nostra13/universalimageloader/core/e;->r:Lcom/nostra13/universalimageloader/core/c;

    :cond_1
    move-object v3, p3

    .line 56
    new-instance v2, Les/sg0;

    sget-object p3, Lcom/nostra13/universalimageloader/core/assist/ViewScaleType;->CROP:Lcom/nostra13/universalimageloader/core/assist/ViewScaleType;

    invoke-direct {v2, p1, p2, p3}, Les/sg0;-><init>(Ljava/lang/String;Lcom/nostra13/universalimageloader/core/assist/c;Lcom/nostra13/universalimageloader/core/assist/ViewScaleType;)V

    move-object v0, p0

    move-object v1, p1

    move-object v4, p4

    move-object v5, p5

    .line 57
    invoke-virtual/range {v0 .. v5}, Lcom/nostra13/universalimageloader/core/d;->a(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V

    return-void
.end method

.method public a(Ljava/lang/String;Lcom/nostra13/universalimageloader/core/c;Les/ug0;)V
    .locals 6

    const/4 v2, 0x0

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v3, p2

    move-object v4, p3

    .line 52
    invoke-virtual/range {v0 .. v5}, Lcom/nostra13/universalimageloader/core/d;->a(Ljava/lang/String;Lcom/nostra13/universalimageloader/core/assist/c;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V

    return-void
.end method

.method public a(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/c;)V
    .locals 6

    const/4 v4, 0x0

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    .line 8
    invoke-virtual/range {v0 .. v5}, Lcom/nostra13/universalimageloader/core/d;->a(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V

    return-void
.end method

.method public a(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/c;Lcom/nostra13/universalimageloader/core/assist/c;Les/ug0;Les/vg0;)V
    .locals 9

    .line 11
    invoke-direct {p0}, Lcom/nostra13/universalimageloader/core/d;->g()V

    if-eqz p2, :cond_b

    if-nez p5, :cond_0

    .line 12
    iget-object p5, p0, Lcom/nostra13/universalimageloader/core/d;->c:Les/ug0;

    :cond_0
    move-object v6, p5

    if-nez p3, :cond_1

    .line 13
    iget-object p3, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    iget-object p3, p3, Lcom/nostra13/universalimageloader/core/e;->r:Lcom/nostra13/universalimageloader/core/c;

    .line 14
    :cond_1
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p5

    const/4 v0, 0x0

    if-eqz p5, :cond_3

    .line 15
    iget-object p4, p0, Lcom/nostra13/universalimageloader/core/d;->b:Lcom/nostra13/universalimageloader/core/f;

    invoke-virtual {p4, p2}, Lcom/nostra13/universalimageloader/core/f;->a(Les/qg0;)V

    .line 16
    invoke-interface {p2}, Les/qg0;->getWrappedView()Landroid/view/View;

    move-result-object p4

    invoke-interface {v6, p1, p4}, Les/ug0;->onLoadingStarted(Ljava/lang/String;Landroid/view/View;)V

    .line 17
    invoke-virtual {p3}, Lcom/nostra13/universalimageloader/core/c;->q()Z

    move-result p4

    if-eqz p4, :cond_2

    .line 18
    iget-object p4, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    iget-object p4, p4, Lcom/nostra13/universalimageloader/core/e;->a:Landroid/content/res/Resources;

    invoke-virtual {p3, p4}, Lcom/nostra13/universalimageloader/core/c;->a(Landroid/content/res/Resources;)Landroid/graphics/drawable/Drawable;

    move-result-object p3

    invoke-interface {p2, p3}, Les/qg0;->setImageDrawable(Landroid/graphics/drawable/Drawable;)Z

    goto :goto_0

    .line 19
    :cond_2
    invoke-interface {p2, v0}, Les/qg0;->setImageDrawable(Landroid/graphics/drawable/Drawable;)Z

    .line 20
    :goto_0
    invoke-interface {p2}, Les/qg0;->getWrappedView()Landroid/view/View;

    move-result-object p2

    invoke-interface {v6, p1, p2, v0}, Les/ug0;->a(Ljava/lang/String;Landroid/view/View;Landroid/graphics/Bitmap;)V

    return-void

    :cond_3
    if-nez p4, :cond_4

    .line 21
    iget-object p4, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    invoke-virtual {p4}, Lcom/nostra13/universalimageloader/core/e;->a()Lcom/nostra13/universalimageloader/core/assist/c;

    move-result-object p4

    invoke-static {p2, p4}, Les/yg0;->a(Les/qg0;Lcom/nostra13/universalimageloader/core/assist/c;)Lcom/nostra13/universalimageloader/core/assist/c;

    move-result-object p4

    :cond_4
    move-object v3, p4

    .line 22
    invoke-static {p1, v3}, Les/bh0;->a(Ljava/lang/String;Lcom/nostra13/universalimageloader/core/assist/c;)Ljava/lang/String;

    move-result-object v4

    .line 23
    iget-object p4, p0, Lcom/nostra13/universalimageloader/core/d;->b:Lcom/nostra13/universalimageloader/core/f;

    invoke-virtual {p4, p2, v4}, Lcom/nostra13/universalimageloader/core/f;->a(Les/qg0;Ljava/lang/String;)V

    .line 24
    invoke-interface {p2}, Les/qg0;->getWrappedView()Landroid/view/View;

    move-result-object p4

    invoke-interface {v6, p1, p4}, Les/ug0;->onLoadingStarted(Ljava/lang/String;Landroid/view/View;)V

    .line 25
    iget-object p4, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    iget-object p4, p4, Lcom/nostra13/universalimageloader/core/e;->n:Les/hg0;

    invoke-interface {p4, v4}, Les/hg0;->get(Ljava/lang/String;)Landroid/graphics/Bitmap;

    move-result-object p4

    if-eqz p4, :cond_7

    .line 26
    invoke-virtual {p4}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result p5

    if-nez p5, :cond_7

    const/4 p5, 0x1

    new-array p5, p5, [Ljava/lang/Object;

    const/4 v0, 0x0

    aput-object v4, p5, v0

    const-string v0, "Load image from memory cache [%s]"

    .line 27
    invoke-static {v0, p5}, Les/ah0;->a(Ljava/lang/String;[Ljava/lang/Object;)V

    .line 28
    invoke-virtual {p3}, Lcom/nostra13/universalimageloader/core/c;->o()Z

    move-result p5

    if-eqz p5, :cond_6

    .line 29
    new-instance p5, Lcom/nostra13/universalimageloader/core/g;

    iget-object v0, p0, Lcom/nostra13/universalimageloader/core/d;->b:Lcom/nostra13/universalimageloader/core/f;

    invoke-virtual {v0, p1}, Lcom/nostra13/universalimageloader/core/f;->a(Ljava/lang/String;)Ljava/util/concurrent/locks/ReentrantLock;

    move-result-object v8

    move-object v0, p5

    move-object v1, p1

    move-object v2, p2

    move-object v5, p3

    move-object v7, p6

    invoke-direct/range {v0 .. v8}, Lcom/nostra13/universalimageloader/core/g;-><init>(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/assist/c;Ljava/lang/String;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;Ljava/util/concurrent/locks/ReentrantLock;)V

    .line 30
    new-instance p1, Lcom/nostra13/universalimageloader/core/h;

    iget-object p2, p0, Lcom/nostra13/universalimageloader/core/d;->b:Lcom/nostra13/universalimageloader/core/f;

    invoke-static {p3}, Lcom/nostra13/universalimageloader/core/d;->a(Lcom/nostra13/universalimageloader/core/c;)Landroid/os/Handler;

    move-result-object p6

    invoke-direct {p1, p2, p4, p5, p6}, Lcom/nostra13/universalimageloader/core/h;-><init>(Lcom/nostra13/universalimageloader/core/f;Landroid/graphics/Bitmap;Lcom/nostra13/universalimageloader/core/g;Landroid/os/Handler;)V

    .line 31
    invoke-virtual {p3}, Lcom/nostra13/universalimageloader/core/c;->m()Z

    move-result p2

    if-eqz p2, :cond_5

    .line 32
    invoke-virtual {p1}, Lcom/nostra13/universalimageloader/core/h;->run()V

    goto :goto_2

    .line 33
    :cond_5
    iget-object p2, p0, Lcom/nostra13/universalimageloader/core/d;->b:Lcom/nostra13/universalimageloader/core/f;

    invoke-virtual {p2, p1}, Lcom/nostra13/universalimageloader/core/f;->a(Lcom/nostra13/universalimageloader/core/h;)V

    goto :goto_2

    .line 34
    :cond_6
    invoke-virtual {p3}, Lcom/nostra13/universalimageloader/core/c;->c()Les/ng0;

    move-result-object p3

    sget-object p5, Lcom/nostra13/universalimageloader/core/assist/LoadedFrom;->MEMORY_CACHE:Lcom/nostra13/universalimageloader/core/assist/LoadedFrom;

    invoke-interface {p3, p4, p2, p5}, Les/ng0;->a(Landroid/graphics/Bitmap;Les/qg0;Lcom/nostra13/universalimageloader/core/assist/LoadedFrom;)V

    .line 35
    invoke-interface {p2}, Les/qg0;->getWrappedView()Landroid/view/View;

    move-result-object p2

    invoke-interface {v6, p1, p2, p4}, Les/ug0;->a(Ljava/lang/String;Landroid/view/View;Landroid/graphics/Bitmap;)V

    goto :goto_2

    .line 36
    :cond_7
    invoke-virtual {p3}, Lcom/nostra13/universalimageloader/core/c;->s()Z

    move-result p4

    if-eqz p4, :cond_8

    .line 37
    iget-object p4, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    iget-object p4, p4, Lcom/nostra13/universalimageloader/core/e;->a:Landroid/content/res/Resources;

    invoke-virtual {p3, p4}, Lcom/nostra13/universalimageloader/core/c;->c(Landroid/content/res/Resources;)Landroid/graphics/drawable/Drawable;

    move-result-object p4

    invoke-interface {p2, p4}, Les/qg0;->setImageDrawable(Landroid/graphics/drawable/Drawable;)Z

    goto :goto_1

    .line 38
    :cond_8
    invoke-virtual {p3}, Lcom/nostra13/universalimageloader/core/c;->l()Z

    move-result p4

    if-eqz p4, :cond_9

    .line 39
    invoke-interface {p2, v0}, Les/qg0;->setImageDrawable(Landroid/graphics/drawable/Drawable;)Z

    .line 40
    :cond_9
    :goto_1
    new-instance p4, Lcom/nostra13/universalimageloader/core/g;

    iget-object p5, p0, Lcom/nostra13/universalimageloader/core/d;->b:Lcom/nostra13/universalimageloader/core/f;

    invoke-virtual {p5, p1}, Lcom/nostra13/universalimageloader/core/f;->a(Ljava/lang/String;)Ljava/util/concurrent/locks/ReentrantLock;

    move-result-object v8

    move-object v0, p4

    move-object v1, p1

    move-object v2, p2

    move-object v5, p3

    move-object v7, p6

    invoke-direct/range {v0 .. v8}, Lcom/nostra13/universalimageloader/core/g;-><init>(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/assist/c;Ljava/lang/String;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;Ljava/util/concurrent/locks/ReentrantLock;)V

    .line 41
    new-instance p1, Lcom/nostra13/universalimageloader/core/LoadAndDisplayImageTask;

    iget-object p2, p0, Lcom/nostra13/universalimageloader/core/d;->b:Lcom/nostra13/universalimageloader/core/f;

    invoke-static {p3}, Lcom/nostra13/universalimageloader/core/d;->a(Lcom/nostra13/universalimageloader/core/c;)Landroid/os/Handler;

    move-result-object p5

    invoke-direct {p1, p2, p4, p5}, Lcom/nostra13/universalimageloader/core/LoadAndDisplayImageTask;-><init>(Lcom/nostra13/universalimageloader/core/f;Lcom/nostra13/universalimageloader/core/g;Landroid/os/Handler;)V

    .line 42
    invoke-virtual {p3}, Lcom/nostra13/universalimageloader/core/c;->m()Z

    move-result p2

    if-eqz p2, :cond_a

    .line 43
    invoke-virtual {p1}, Lcom/nostra13/universalimageloader/core/LoadAndDisplayImageTask;->run()V

    goto :goto_2

    .line 44
    :cond_a
    iget-object p2, p0, Lcom/nostra13/universalimageloader/core/d;->b:Lcom/nostra13/universalimageloader/core/f;

    invoke-virtual {p2, p1}, Lcom/nostra13/universalimageloader/core/f;->a(Lcom/nostra13/universalimageloader/core/LoadAndDisplayImageTask;)V

    :goto_2
    return-void

    .line 45
    :cond_b
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "Wrong arguments were passed to displayImage() method (ImageView reference must not be null)"

    invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public a(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/c;Les/ug0;)V
    .locals 6

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move-object v4, p4

    .line 9
    invoke-virtual/range {v0 .. v5}, Lcom/nostra13/universalimageloader/core/d;->a(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V

    return-void
.end method

.method public a(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V
    .locals 7

    const/4 v4, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move-object v5, p4

    move-object v6, p5

    .line 10
    invoke-virtual/range {v0 .. v6}, Lcom/nostra13/universalimageloader/core/d;->a(Ljava/lang/String;Les/qg0;Lcom/nostra13/universalimageloader/core/c;Lcom/nostra13/universalimageloader/core/assist/c;Les/ug0;Les/vg0;)V

    return-void
.end method

.method public a(Ljava/lang/String;Les/ug0;)V
    .locals 6

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v5, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v4, p2

    .line 51
    invoke-virtual/range {v0 .. v5}, Lcom/nostra13/universalimageloader/core/d;->a(Ljava/lang/String;Lcom/nostra13/universalimageloader/core/assist/c;Lcom/nostra13/universalimageloader/core/c;Les/ug0;Les/vg0;)V

    return-void
.end method

.method public b()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/nostra13/universalimageloader/core/d;->g()V

    .line 2
    iget-object v0, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    iget-object v0, v0, Lcom/nostra13/universalimageloader/core/e;->n:Les/hg0;

    invoke-interface {v0}, Les/hg0;->clear()V

    return-void
.end method

.method public c()Les/yf0;
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/nostra13/universalimageloader/core/d;->g()V

    .line 2
    iget-object v0, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    iget-object v0, v0, Lcom/nostra13/universalimageloader/core/e;->o:Les/yf0;

    return-object v0
.end method

.method public d()Les/hg0;
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/nostra13/universalimageloader/core/d;->g()V

    .line 2
    iget-object v0, p0, Lcom/nostra13/universalimageloader/core/d;->a:Lcom/nostra13/universalimageloader/core/e;

    iget-object v0, v0, Lcom/nostra13/universalimageloader/core/e;->n:Les/hg0;

    return-object v0
.end method

.method public e()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/nostra13/universalimageloader/core/d;->b:Lcom/nostra13/universalimageloader/core/f;

    invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/f;->e()V

    return-void
.end method

.method public f()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/nostra13/universalimageloader/core/d;->b:Lcom/nostra13/universalimageloader/core/f;

    invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/f;->f()V

    return-void
.end method
